<div class="card" id="roominfo">
    <div class="card-block">
        <div class="table-responsive">
            <div id="data-table_wrapper" class="dataTables_wrapper">
                <div class="dataTables_buttons hidden-sm-down actions">
                    <span class="actions__item zmdi zmdi-search" onclick="search()" title="搜索" />
                    <span class="actions__item zmdi zmdi-refresh-alt" onclick="refresh()" title="刷新" />
                    <div class="dropdown actions__item">
                        <!-- <i data-toggle="dropdown" class="zmdi zmdi-download"></i>
                        <ul class="dropdown-menu dropdown-menu-right">
                            <a href="javascript:void(0)" class="dropdown-item" data-table-action="excel"  onclick="exportDeptExcel()">
		                    	Excel (.xlsx)
		                	</a>
                            <a href="javascript:void(0)" class="dropdown-item" data-table-action="csv"  onclick="exportDeptCsv()">
		                    	CSV (.csv)
		                	</a>
                        </ul> -->
                    </div>
                    <div class="dropdown actions__item" >
                        <!-- <i data-toggle="dropdown" class="zmdi zmdi-more-vert"></i>
                        <div class="dropdown-menu dropdown-menu-right">
                            <a href="javascript:void(0)" class="dropdown-item" id="addRoom">新增房间</a>
                            <a href="javascript:void(0)" class="dropdown-item" id="editRoom">修改房间</a>
                            <a href="javascript:void(0)" class="dropdown-item" id="bookRoom">房态管理</a>
                        </div> -->
                    </div>
                </div>
                <div id="data-table_filter" class="dataTables_filter">
                    <form class="room-table-form">
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="input-group">
                                    <span class="input-group-addon">
					               	入住人：
					            	</span>
                                    <div class="form-group">
                                        <input type="text" name="resident" class="form-control">
                                        <i class="form-group__bar"></i>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="input-group">
                                    <span class="input-group-addon">
					               	入住日期：
					            </span>
                                    <div class="form-group">
                                        <!-- <input type="date" name="checkinTime" class="form-control"> -->
                                        <input style='height:33.88px;' placeholder="请输入日期" name="checkinTime" class="form-control laydate-icon timeUstyle stateUTime" id="checkinDate">
                                        <!-- <input style='height:33.88px;' name="checkinTime" placeholder="请输入日期" class="form-control laydate-icon timeUstyle stateUTime" onclick="laydate({istime: true,format:'YYYY-MM-DD '})"> -->
                                        <i class="form-group__bar"></i>
                                    </div> 
                                </div>
                            </div>
                           <div class="col-sm-3">
                                <div class="input-group">
                                    <span class="input-group-addon"> 状态： </span>
                                    <div class="form-group">
                                        <select class="form-control" name="orderStatus">
                                            <option value="" selected>所有</option>
                                            <option value="0">新建</option>
                                            <option value="1">已确认</option>
                                            <option value="2">已取消</option>
                                            <option value="3">已结束</option>
                                        </select>
                                    </div>
                                </div>
                           </div>
                        </div>
                    </form>
                </div>
                <table id="orderTable" data-mobile-responsive="true" class="mb-bootstrap-table"></table>
            </div>
        </div>
    </div>
</div>

<script data-th-src="@{js/app/hotel/hotel/order.js}"></script>
<script type="text/javascript">
window.onkeydown = document.onkeydown = keydown; 
function keydown(evt) {
	var evt = window.event || evt
	if(evt.keyCode==13){
		search();
	}
}
$(function() {
	laydate.render({
		 elem: '#checkinDate'//指定元素
	});
});
</script>
